Release 10.1A: OpenEdge Reporting:
Query/Results Administration and Development
Database configuration files
When you first run Results against a database, the following message appears:
![]()
In this message, sports is the name of the database you are using to start Results. If you are starting Results with more than one database, only the name of the first database connected will appear in this dialog box.
Initial build and the query configuration files
The initial build creates a file called
dbname.qc7,wheredbnameis the unique name of the you are using to start Results. This file is called thequery configurationfile (QC7file), and it contains the Results default settings for table relationships, security settings, label formats, export formats, and page formats. All the users who use Results with the specified database access this file. Results cannot run without theQC7file. Therefore, if you are running Results for the first time against a new database or group of databases, Results must perform the initial build to create this file.The
Note: You can start Results with more databases than you used to build theQC7file is named for the first database connected; therefore, the order in which you connect databases when you start Results is important. For example, if you perform an initial build on the databasesdb1anddb2(in that order), theQC7file for these databases together is calleddb1.qc7. If you start Results withdb2anddb1(in that order), Progress returns a message that thedb2.qc7file was not found. If you start Results with only thedb1database, a message states that the database configuration has changed and requests you to rebuild the query configuration file.QC7file. However, the menu option QuerySite Admin
Application Rebuild causes Results to rewrite the entire
QC7file. When Results rewrites aQC7file, it uses information from all connected databases.Location of the QC7 file
Results attempts to create the
QC7file in the same directory that contains the database (dbname.db). However, if the database is on another machine, and Results cannot locate that directory, Results places theQC7file in the current working directory. Once Results creates aQC7file, you can move it anywhere in yourPROPATH.When you start Results, it looks for the
QC7file in the current working directory. If it cannot find it there, it looks in thePROPATH. For more information aboutPROPATH, see OpenEdge Getting Started: Installation and Configuration .Query configuration log file
During the initial build and subsequent rewrites of a query configuration file, Results logs information in a
query configuration logfile (QLfile). The name of the query configuration log file isdbname.ql, wheredbnameis the name of the first database connected for the session. The information in the query configuration log file can consist of compiler error messages and compilation times. Results creates theQLfile in the same directory as theQC7file.Results continues to write to the
QLfile associated with aQC7file for the life of theQC7file. If theQLfile becomes too large, simply delete the file. Results automatically creates a newQLfile.Results.l file and initial builds
Default information for a Results site is stored in the
results.lfile located in theaderesdirectory in the OpenEdge product directory ($DLC\GUI). Theresults.lfile is an ASCII file that contains the following default settings:Results incorporates the contents of the
results.lfile into aQC7file during initial build of theQC7file. Subsequent rewrites of theQC7file do not access theresults.lfile.You can configure your default site settings by editing the contents of the
Note: If you introduce errors into theresults.lfile prior to performing an initial build. Create a backup copy of theresults.lfile prior to editing it.results.lfile, you might encounter problems during the initial build of aQC7file.See Appendix C, "Results Files," for information about the contents of the
results.lfile.After the initial build
After the initial build, you can use the menu options Query
Site Admin and Query
Customize to override the default environment settings and customize Results for your own site. Most of these menu options edit the content of the current
QC7file.The remainder of this chapter describes how you can customize Results for your site using the Site Admin menu. See Chapter 3, "Programming Results," for information about how you can extend and configure Results using the Customize menu.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |